    import service from '@/utils/request.js'

    export const userApi={
        list(conditions){
            return service.get('/user/list',{params:conditions})
        }
    }



// import axios from 'axios'

   /* export const userApi={
        list(conditions){
            return axios.get('http://localhost:8080/user/list',{params:conditions}).then(response =>{
                console.log(response.data)
                let result=response.data
                /!*console.log(result.data)
                if (result.code==0){
                    return  result.data
                }*!/
                return result
            }).catch(error =>{

            })
        }
    }*/

